//https://app.573job.com/573job_webapi
//http://192.168.31.161:8097
//http://192.168.1.55:7018
//http://localhost:5000
//http://192.168.1.3:5000
const api_url = process.env.VUE_APP_BASE_URL + process.env.VUE_APP_BASE_API; //接口地址
console.log(process.env.VUE_APP_BASE_URL);
const static_url = api_url.replace('/api',''); //接口域名
const dialog_confirm_color = "#f70"; //dialog对话框确认按钮颜色
const old_api_url = "https://app.573job.com/jxrsrc/"; //旧接口地址
const setTimeout_time = 800;
const share_person_url = "https://m.93job.com";
const version = 1; //版本号

//事件总线
const bus_person_login = "bus_person_login"; //个人登录
const bus_person_jobSubscribe = "bus_person_jobSubscribe"; //个人用户订阅职位改变时触发
const bus_person_resume_update = "bus_person_resume_update"; //需要刷新简历
const bus_person_resume_jwupdate = "bus_person_resume_jwupdate"; //求职意向更新，刷新首页推荐岗位
const bus_person_im = "bus_person_im"; //个人收到聊天消息
const bus_person_im_refresh = "bus_person_im_refresh"; //个人收到聊天刷新
const bus_person_im_badgeUpdate = "bus_person_im_badgeUpdate"; //个人-刷新未读聊天数
const bus_person_im_sendmessage = "bus_person_im_sendmessage"; //个人-聊天-发送消息 --更新个人会话列表、更新企业会话列表、更新企业聊天窗口、更新企业导航栏消息页
const bus_person_im_message_read = 'bus_person_im_message_read' //已读聊天详情页 -- 更新个人会话列表、导航栏消息页
const bus_pereson_im_message_receive_OutPage = 'bus_company_im_message_receive_OutPage' //外部页面个人收到消息 更新导航页、会话列表页
const bus_pereson_im_message_receive_InsidePage = 'bus_company_im_message_receive_InsidePage' //聊天内部页面个人收到消息 更新聊天窗口页
const bus_person_mine_update = 'bus_person_mine_update' //我的页更新
const bus_company_resume_inbox_update = "bus_company_resume_inbox_update"; //企业-简历-简历收件箱更新
const bus_company_resume_showinfo_update = "bus_company_resume_showinfo_update"; //企业-简历-查看简历-刷新
const bus_person_resume_uploadHeadImg = 'bus_person_resume_uploadHeadImg' //更新简历头像
const bus_company_joblist_update = "bus_company_joblist_update"; //企业-职位列表刷新
const bus_company_logout = "bus_company_logout"; //企业-退出登录
const bus_company_im_update = 'bus_company_im_update' //企业-更新聊天会话
const bus_company_im_sendmessage = "bus_company_im_sendmessage"; //企业-聊天-发送消息 --更新企业会话列表、更新个人会话列表、更新个人聊天窗口、更新个人导航栏消息页
const bus_company_im_message_read = 'bus_person_im_message_read' //已读聊天详情页 -- 更新企业会话列表、企业导航栏消息页
const bus_company_im_message_receive_OutPage = 'bus_company_im_message_receive_OutPage' //外部页面企业收到消息 更新导航页、会话列表页
const bus_company_im_message_receive_InsidePage = 'bus_company_im_message_receive_InsidePage' //聊天内部页面企业收到消息 更新聊天窗口页
const bus_company_service_update = 'bus_company_service_update'
const bus_company_bindphone_update = 'bus_company_bindphone_update'
const bus_common_CommonZNSelect_cancel = "bus_common_CommonZNSelect_cancel"; //通用-职能选择-取消
const bus_common_CommonZNSelect_submit = "bus_common_CommonZNSelect_submit"; //通用-职能选择-提交
const bus_common_switch_usertype = "bus_common_switch_usertype"; //通用-切换用户身份（个人、企业）
const bus_common_im_IMMessage = "bus_common_im_IMMessage"; //通用-聊天界面收到聊天消息


export default {
	api_url,
	static_url,
	dialog_confirm_color,
	old_api_url,
	setTimeout_time,
	bus_person_jobSubscribe,
	bus_person_resume_update,
	bus_person_resume_jwupdate,
	bus_person_mine_update,
	bus_person_login,
	bus_person_im,
	bus_person_im_badgeUpdate,
	bus_person_im_sendmessage,
	bus_person_im_message_read,
	bus_person_im_refresh,
	bus_pereson_im_message_receive_OutPage,
	bus_pereson_im_message_receive_InsidePage,
	bus_company_resume_inbox_update,
	bus_company_resume_showinfo_update,
	bus_person_resume_uploadHeadImg,
	bus_company_joblist_update,
	bus_company_logout,
	bus_company_im_update,
	bus_company_im_sendmessage,
	bus_company_im_message_read,
	bus_company_im_message_receive_OutPage,
	bus_company_im_message_receive_InsidePage,
	bus_company_service_update,
	bus_company_bindphone_update,
	bus_common_CommonZNSelect_cancel,
	bus_common_CommonZNSelect_submit,
	bus_common_switch_usertype,
	bus_common_im_IMMessage,
	share_person_url,
	version
};
